package com.aijk.base.entity;

import java.io.Serializable;

/**
 * 分页接口返回对象
 * Created by iscdw on 2016/4/7.
 */
public class PagingRequest implements Serializable {

    private int pageNum = 1;
    private int pageSize = 10;

    public PagingRequest() {
    }

    public PagingRequest(int pageNum, int pageSize) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "PagingRequest{" +
                "pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                '}';
    }
}
